package com.qf.controller;

import com.qf.service.AdminCityService;
import com.qf.service.CityService;
import com.qf.utils.ResultMsg;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/AdminCity")
public class AdminCityController {
    @Autowired
    AdminCityService adminCityService;
    @GetMapping("/findCity")
    public ResultMsg findAllCity(int page,int limit){
        return adminCityService.findAllCitys(page,limit);
    }
}
